<?php $this->widget('bootstrap.widgets.TbAlert'); ?>

<?php /** @var BootActiveForm $form */
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
    'id'=>'change-state-form',
    'type'=>'horizontal',
    'enableClientValidation'=>true,
    'clientOptions'=>array(
        'validateOnSubmit'=>true,
    ),
)); ?>
<fieldset>
<legend>修改调度器状态</legend>
<?php echo $form->dropDownListRow($model, 'suspend', array(0   =>  '正常',
            1   =>  '挂起',
       ), array('class'=>'span3')); ?>
</fieldset>
<div class="form-actions">
<?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit', 'icon'=>'ok', 'label'=>'修 改')); ?>
</div>
<?php $this->endWidget(); ?>
